<?php


$SID = session_id();
if(!isset($SID)){
	header("Location: index.php");
}
$newUser = user::getUserBySid($SID);
if($newUser == -1){
	header("Location: index.php");
}
?>